import http from '@/utils/axios.js'

// 获取分类分页数据

export const getCategoryPageListAPI = (params) => http.post("/admin/category/list", params)

export const addCategoryAPI = (params) => http.post("/admin/category/add", params)

export const deleteCategoryAPI = (params) => http.post("/admin/category/delete", params)

// 获取分类 select 数据
export const getCategorySelectListAPI = () => http.post("/admin/category/select/list")

